package com.kedacom.freedomLabel.model.bean;

import android.arch.persistence.room.ColumnInfo;

import com.kedacom.freedomLabel.model.annotation.ItemCategory;

/**
 * @author licheng
 * @since 2019/11/14 14:14
 */
public class ItemGroup {

    public static final String COLUMN_CATEGORY = "category";
    public static final String COLUMN_COUNT = "count";

    // 分类 共计六大类 固定
    @ItemCategory
    @ColumnInfo(name = COLUMN_CATEGORY)
    public String category;

    // 数量
    @ColumnInfo(name = COLUMN_COUNT)
    public int count;

    // 自定义名称
    public String customName;

    public ItemGroup(@ItemCategory String category, String customName) {
        this.category = category;
        this.customName = customName;
    }
}